﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using DQYT.HTDZ.BLL;
using DQYT.HTDZ.Model;


namespace DQYT.HTDZ.Web.BDVALUE
{
    public partial class delete : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                BDVALUEBLL bll = new BDVALUEBLL();
                if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
                {
                    decimal ID = (Convert.ToDecimal(Request.Params["id"]));
                    bll.Delete(ID);
                    Response.Redirect("list.aspx");
                }
            }

        }
    }
}